﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditUserCtrl.ascx.cs" Inherits="WebUI.Controls.EditUserCtrl" %>

<asp:Panel ID="mainPanel" runat="server" CssClass="primaryFrameNoBorder">
   <table width="100%">
        <tr>
            <td style="text-align:right; vertical-align:top;width:120px;">
                <asp:Label CssClass="labelMessage" ID="lblname" runat="server" Text="UserName:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="require1" runat="server" ControlToValidate="txtUserName" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top;width:120px;">
                <asp:Label CssClass="labelMessage" ID="Label6" runat="server" Text="FullName:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFullName" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label1" runat="server" Text="Role:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:DropDownList ID="ddlRoles" runat="server"></asp:DropDownList>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlRoles" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label2" runat="server" Text="Password:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" ></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPassword" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label3" runat="server" Text="Retype Password:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtRetypePassword" runat="server" TextMode="Password" ></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Save" ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtRetypePassword" Display="Dynamic" CssClass="requiredField"
                    ErrorMessage="required" Text="required"></asp:RequiredFieldValidator>
                    <br />
                <asp:CompareValidator ID="CompareValidator1" ControlToValidate="txtRetypePassword" ControlToCompare="txtPassword" runat="server" CssClass="requiredField" ErrorMessage="Password does not match. Please retype."></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label4" runat="server" Text="Phone:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td style="text-align:right; vertical-align:top">
                <asp:Label CssClass="labelMessage" ID="Label5" runat="server" Text="Address:"></asp:Label>
            </td>
            <td style="text-align:left; vertical-align:top">
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
   </table>
</asp:Panel>